home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
showdown_noel.swf
/
scripts
/
DefineSprite_50
/
frame_5
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
487b
|
15 lines
var loadedPercent = int(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
if(loadedPercent < 100)
{
mcLoadingAnimated.mcLoading.gotoAndStop(loadedPercent);
mcLoadingAnimated.mcLoading.txtPercentLoaded1 = "The game is loading (" + loadedPercent + "%)";
mcLoadingAnimated.mcLoading.txtPercentLoaded2 = "The game is loading (" + loadedPercent + "%)";
_root.gotoAndStop(2);
gotoAndPlay(_currentframe - 1);
}
else
{
mcLoadingAnimated.play();
stop();
}